package com.shire.shire_interface.model.marketing;

import com.shire.shire_interface.model.BasePageExample;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WxGroupTaskExample extends BasePageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WxGroupTaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNull() {
            addCriterion("taskType is null");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNotNull() {
            addCriterion("taskType is not null");
            return (Criteria) this;
        }

        public Criteria andTasktypeEqualTo(Integer value) {
            addCriterion("taskType =", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotEqualTo(Integer value) {
            addCriterion("taskType <>", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThan(Integer value) {
            addCriterion("taskType >", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("taskType >=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThan(Integer value) {
            addCriterion("taskType <", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThanOrEqualTo(Integer value) {
            addCriterion("taskType <=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeIn(List<Integer> values) {
            addCriterion("taskType in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotIn(List<Integer> values) {
            addCriterion("taskType not in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeBetween(Integer value1, Integer value2) {
            addCriterion("taskType between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotBetween(Integer value1, Integer value2) {
            addCriterion("taskType not between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIsNull() {
            addCriterion("taskStatus is null");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIsNotNull() {
            addCriterion("taskStatus is not null");
            return (Criteria) this;
        }

        public Criteria andTaskstatusEqualTo(Integer value) {
            addCriterion("taskStatus =", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotEqualTo(Integer value) {
            addCriterion("taskStatus <>", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusGreaterThan(Integer value) {
            addCriterion("taskStatus >", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("taskStatus >=", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLessThan(Integer value) {
            addCriterion("taskStatus <", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLessThanOrEqualTo(Integer value) {
            addCriterion("taskStatus <=", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIn(List<Integer> values) {
            addCriterion("taskStatus in", values, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotIn(List<Integer> values) {
            addCriterion("taskStatus not in", values, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusBetween(Integer value1, Integer value2) {
            addCriterion("taskStatus between", value1, value2, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("taskStatus not between", value1, value2, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andMembercountIsNull() {
            addCriterion("memberCount is null");
            return (Criteria) this;
        }

        public Criteria andMembercountIsNotNull() {
            addCriterion("memberCount is not null");
            return (Criteria) this;
        }

        public Criteria andMembercountEqualTo(Integer value) {
            addCriterion("memberCount =", value, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountNotEqualTo(Integer value) {
            addCriterion("memberCount <>", value, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountGreaterThan(Integer value) {
            addCriterion("memberCount >", value, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountGreaterThanOrEqualTo(Integer value) {
            addCriterion("memberCount >=", value, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountLessThan(Integer value) {
            addCriterion("memberCount <", value, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountLessThanOrEqualTo(Integer value) {
            addCriterion("memberCount <=", value, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountIn(List<Integer> values) {
            addCriterion("memberCount in", values, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountNotIn(List<Integer> values) {
            addCriterion("memberCount not in", values, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountBetween(Integer value1, Integer value2) {
            addCriterion("memberCount between", value1, value2, "membercount");
            return (Criteria) this;
        }

        public Criteria andMembercountNotBetween(Integer value1, Integer value2) {
            addCriterion("memberCount not between", value1, value2, "membercount");
            return (Criteria) this;
        }

        public Criteria andSendcountIsNull() {
            addCriterion("sendCount is null");
            return (Criteria) this;
        }

        public Criteria andSendcountIsNotNull() {
            addCriterion("sendCount is not null");
            return (Criteria) this;
        }

        public Criteria andSendcountEqualTo(Integer value) {
            addCriterion("sendCount =", value, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountNotEqualTo(Integer value) {
            addCriterion("sendCount <>", value, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountGreaterThan(Integer value) {
            addCriterion("sendCount >", value, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("sendCount >=", value, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountLessThan(Integer value) {
            addCriterion("sendCount <", value, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountLessThanOrEqualTo(Integer value) {
            addCriterion("sendCount <=", value, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountIn(List<Integer> values) {
            addCriterion("sendCount in", values, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountNotIn(List<Integer> values) {
            addCriterion("sendCount not in", values, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountBetween(Integer value1, Integer value2) {
            addCriterion("sendCount between", value1, value2, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendcountNotBetween(Integer value1, Integer value2) {
            addCriterion("sendCount not between", value1, value2, "sendcount");
            return (Criteria) this;
        }

        public Criteria andSendtypeIsNull() {
            addCriterion("sendType is null");
            return (Criteria) this;
        }

        public Criteria andSendtypeIsNotNull() {
            addCriterion("sendType is not null");
            return (Criteria) this;
        }

        public Criteria andSendtypeEqualTo(Byte value) {
            addCriterion("sendType =", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeNotEqualTo(Byte value) {
            addCriterion("sendType <>", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeGreaterThan(Byte value) {
            addCriterion("sendType >", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("sendType >=", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeLessThan(Byte value) {
            addCriterion("sendType <", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeLessThanOrEqualTo(Byte value) {
            addCriterion("sendType <=", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeIn(List<Byte> values) {
            addCriterion("sendType in", values, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeNotIn(List<Byte> values) {
            addCriterion("sendType not in", values, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeBetween(Byte value1, Byte value2) {
            addCriterion("sendType between", value1, value2, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeNotBetween(Byte value1, Byte value2) {
            addCriterion("sendType not between", value1, value2, "sendtype");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNull() {
            addCriterion("startTime is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNotNull() {
            addCriterion("startTime is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeEqualTo(Date value) {
            addCriterion("startTime =", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotEqualTo(Date value) {
            addCriterion("startTime <>", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThan(Date value) {
            addCriterion("startTime >", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startTime >=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThan(Date value) {
            addCriterion("startTime <", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("startTime <=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIn(List<Date> values) {
            addCriterion("startTime in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotIn(List<Date> values) {
            addCriterion("startTime not in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeBetween(Date value1, Date value2) {
            addCriterion("startTime between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("startTime not between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andGroupnameIsNull() {
            addCriterion("groupName is null");
            return (Criteria) this;
        }

        public Criteria andGroupnameIsNotNull() {
            addCriterion("groupName is not null");
            return (Criteria) this;
        }

        public Criteria andGroupnameEqualTo(String value) {
            addCriterion("groupName =", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotEqualTo(String value) {
            addCriterion("groupName <>", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameGreaterThan(String value) {
            addCriterion("groupName >", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameGreaterThanOrEqualTo(String value) {
            addCriterion("groupName >=", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLessThan(String value) {
            addCriterion("groupName <", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLessThanOrEqualTo(String value) {
            addCriterion("groupName <=", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLike(String value) {
            addCriterion("groupName like", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotLike(String value) {
            addCriterion("groupName not like", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameIn(List<String> values) {
            addCriterion("groupName in", values, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotIn(List<String> values) {
            addCriterion("groupName not in", values, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameBetween(String value1, String value2) {
            addCriterion("groupName between", value1, value2, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotBetween(String value1, String value2) {
            addCriterion("groupName not between", value1, value2, "groupname");
            return (Criteria) this;
        }

        public Criteria andCsidIsNull() {
            addCriterion("csId is null");
            return (Criteria) this;
        }

        public Criteria andCsidIsNotNull() {
            addCriterion("csId is not null");
            return (Criteria) this;
        }

        public Criteria andCsidEqualTo(Integer value) {
            addCriterion("csId =", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotEqualTo(Integer value) {
            addCriterion("csId <>", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThan(Integer value) {
            addCriterion("csId >", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("csId >=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThan(Integer value) {
            addCriterion("csId <", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThanOrEqualTo(Integer value) {
            addCriterion("csId <=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidIn(List<Integer> values) {
            addCriterion("csId in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotIn(List<Integer> values) {
            addCriterion("csId not in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidBetween(Integer value1, Integer value2) {
            addCriterion("csId between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotBetween(Integer value1, Integer value2) {
            addCriterion("csId not between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidIsNull() {
            addCriterion("accountWxId is null");
            return (Criteria) this;
        }

        public Criteria andAccountwxidIsNotNull() {
            addCriterion("accountWxId is not null");
            return (Criteria) this;
        }

        public Criteria andAccountwxidEqualTo(String value) {
            addCriterion("accountWxId =", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidNotEqualTo(String value) {
            addCriterion("accountWxId <>", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidGreaterThan(String value) {
            addCriterion("accountWxId >", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidGreaterThanOrEqualTo(String value) {
            addCriterion("accountWxId >=", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidLessThan(String value) {
            addCriterion("accountWxId <", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidLessThanOrEqualTo(String value) {
            addCriterion("accountWxId <=", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidLike(String value) {
            addCriterion("accountWxId like", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidNotLike(String value) {
            addCriterion("accountWxId not like", value, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidIn(List<String> values) {
            addCriterion("accountWxId in", values, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidNotIn(List<String> values) {
            addCriterion("accountWxId not in", values, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidBetween(String value1, String value2) {
            addCriterion("accountWxId between", value1, value2, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andAccountwxidNotBetween(String value1, String value2) {
            addCriterion("accountWxId not between", value1, value2, "accountwxid");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andGroupnoIsNull() {
            addCriterion("groupNo is null");
            return (Criteria) this;
        }

        public Criteria andGroupnoIsNotNull() {
            addCriterion("groupNo is not null");
            return (Criteria) this;
        }

        public Criteria andGroupnoEqualTo(String value) {
            addCriterion("groupNo =", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotEqualTo(String value) {
            addCriterion("groupNo <>", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoGreaterThan(String value) {
            addCriterion("groupNo >", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoGreaterThanOrEqualTo(String value) {
            addCriterion("groupNo >=", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLessThan(String value) {
            addCriterion("groupNo <", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLessThanOrEqualTo(String value) {
            addCriterion("groupNo <=", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLike(String value) {
            addCriterion("groupNo like", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotLike(String value) {
            addCriterion("groupNo not like", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoIn(List<String> values) {
            addCriterion("groupNo in", values, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotIn(List<String> values) {
            addCriterion("groupNo not in", values, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoBetween(String value1, String value2) {
            addCriterion("groupNo between", value1, value2, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotBetween(String value1, String value2) {
            addCriterion("groupNo not between", value1, value2, "groupno");
            return (Criteria) this;
        }

        public Criteria andManageaccountsIsNull() {
            addCriterion("manageAccounts is null");
            return (Criteria) this;
        }

        public Criteria andManageaccountsIsNotNull() {
            addCriterion("manageAccounts is not null");
            return (Criteria) this;
        }

        public Criteria andManageaccountsEqualTo(String value) {
            addCriterion("manageAccounts =", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsNotEqualTo(String value) {
            addCriterion("manageAccounts <>", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsGreaterThan(String value) {
            addCriterion("manageAccounts >", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsGreaterThanOrEqualTo(String value) {
            addCriterion("manageAccounts >=", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsLessThan(String value) {
            addCriterion("manageAccounts <", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsLessThanOrEqualTo(String value) {
            addCriterion("manageAccounts <=", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsLike(String value) {
            addCriterion("manageAccounts like", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsNotLike(String value) {
            addCriterion("manageAccounts not like", value, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsIn(List<String> values) {
            addCriterion("manageAccounts in", values, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsNotIn(List<String> values) {
            addCriterion("manageAccounts not in", values, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsBetween(String value1, String value2) {
            addCriterion("manageAccounts between", value1, value2, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andManageaccountsNotBetween(String value1, String value2) {
            addCriterion("manageAccounts not between", value1, value2, "manageaccounts");
            return (Criteria) this;
        }

        public Criteria andFinishcountIsNull() {
            addCriterion("finishCount is null");
            return (Criteria) this;
        }

        public Criteria andFinishcountIsNotNull() {
            addCriterion("finishCount is not null");
            return (Criteria) this;
        }

        public Criteria andFinishcountEqualTo(Integer value) {
            addCriterion("finishCount =", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountNotEqualTo(Integer value) {
            addCriterion("finishCount <>", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountGreaterThan(Integer value) {
            addCriterion("finishCount >", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("finishCount >=", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountLessThan(Integer value) {
            addCriterion("finishCount <", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountLessThanOrEqualTo(Integer value) {
            addCriterion("finishCount <=", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountIn(List<Integer> values) {
            addCriterion("finishCount in", values, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountNotIn(List<Integer> values) {
            addCriterion("finishCount not in", values, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountBetween(Integer value1, Integer value2) {
            addCriterion("finishCount between", value1, value2, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountNotBetween(Integer value1, Integer value2) {
            addCriterion("finishCount not between", value1, value2, "finishcount");
            return (Criteria) this;
        }

        public Criteria andApplymsgIsNull() {
            addCriterion("applyMsg is null");
            return (Criteria) this;
        }

        public Criteria andApplymsgIsNotNull() {
            addCriterion("applyMsg is not null");
            return (Criteria) this;
        }

        public Criteria andApplymsgEqualTo(String value) {
            addCriterion("applyMsg =", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgNotEqualTo(String value) {
            addCriterion("applyMsg <>", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgGreaterThan(String value) {
            addCriterion("applyMsg >", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgGreaterThanOrEqualTo(String value) {
            addCriterion("applyMsg >=", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgLessThan(String value) {
            addCriterion("applyMsg <", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgLessThanOrEqualTo(String value) {
            addCriterion("applyMsg <=", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgLike(String value) {
            addCriterion("applyMsg like", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgNotLike(String value) {
            addCriterion("applyMsg not like", value, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgIn(List<String> values) {
            addCriterion("applyMsg in", values, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgNotIn(List<String> values) {
            addCriterion("applyMsg not in", values, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgBetween(String value1, String value2) {
            addCriterion("applyMsg between", value1, value2, "applymsg");
            return (Criteria) this;
        }

        public Criteria andApplymsgNotBetween(String value1, String value2) {
            addCriterion("applyMsg not between", value1, value2, "applymsg");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidIsNull() {
            addCriterion("groupCmdId is null");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidIsNotNull() {
            addCriterion("groupCmdId is not null");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidEqualTo(Integer value) {
            addCriterion("groupCmdId =", value, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidNotEqualTo(Integer value) {
            addCriterion("groupCmdId <>", value, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidGreaterThan(Integer value) {
            addCriterion("groupCmdId >", value, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidGreaterThanOrEqualTo(Integer value) {
            addCriterion("groupCmdId >=", value, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidLessThan(Integer value) {
            addCriterion("groupCmdId <", value, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidLessThanOrEqualTo(Integer value) {
            addCriterion("groupCmdId <=", value, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidIn(List<Integer> values) {
            addCriterion("groupCmdId in", values, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidNotIn(List<Integer> values) {
            addCriterion("groupCmdId not in", values, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidBetween(Integer value1, Integer value2) {
            addCriterion("groupCmdId between", value1, value2, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdidNotBetween(Integer value1, Integer value2) {
            addCriterion("groupCmdId not between", value1, value2, "groupcmdid");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusIsNull() {
            addCriterion("groupCmdStatus is null");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusIsNotNull() {
            addCriterion("groupCmdStatus is not null");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusEqualTo(Integer value) {
            addCriterion("groupCmdStatus =", value, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusNotEqualTo(Integer value) {
            addCriterion("groupCmdStatus <>", value, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusGreaterThan(Integer value) {
            addCriterion("groupCmdStatus >", value, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("groupCmdStatus >=", value, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusLessThan(Integer value) {
            addCriterion("groupCmdStatus <", value, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusLessThanOrEqualTo(Integer value) {
            addCriterion("groupCmdStatus <=", value, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusIn(List<Integer> values) {
            addCriterion("groupCmdStatus in", values, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusNotIn(List<Integer> values) {
            addCriterion("groupCmdStatus not in", values, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusBetween(Integer value1, Integer value2) {
            addCriterion("groupCmdStatus between", value1, value2, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andGroupcmdstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("groupCmdStatus not between", value1, value2, "groupcmdstatus");
            return (Criteria) this;
        }

        public Criteria andMsgcontentIsNull() {
            addCriterion("msgContent is null");
            return (Criteria) this;
        }

        public Criteria andMsgcontentIsNotNull() {
            addCriterion("msgContent is not null");
            return (Criteria) this;
        }

        public Criteria andMsgcontentEqualTo(String value) {
            addCriterion("msgContent =", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentNotEqualTo(String value) {
            addCriterion("msgContent <>", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentGreaterThan(String value) {
            addCriterion("msgContent >", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentGreaterThanOrEqualTo(String value) {
            addCriterion("msgContent >=", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentLessThan(String value) {
            addCriterion("msgContent <", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentLessThanOrEqualTo(String value) {
            addCriterion("msgContent <=", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentLike(String value) {
            addCriterion("msgContent like", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentNotLike(String value) {
            addCriterion("msgContent not like", value, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentIn(List<String> values) {
            addCriterion("msgContent in", values, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentNotIn(List<String> values) {
            addCriterion("msgContent not in", values, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentBetween(String value1, String value2) {
            addCriterion("msgContent between", value1, value2, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andMsgcontentNotBetween(String value1, String value2) {
            addCriterion("msgContent not between", value1, value2, "msgcontent");
            return (Criteria) this;
        }

        public Criteria andBatchnumIsNull() {
            addCriterion("batchNum is null");
            return (Criteria) this;
        }

        public Criteria andBatchnumIsNotNull() {
            addCriterion("batchNum is not null");
            return (Criteria) this;
        }

        public Criteria andBatchnumEqualTo(Integer value) {
            addCriterion("batchNum =", value, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumNotEqualTo(Integer value) {
            addCriterion("batchNum <>", value, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumGreaterThan(Integer value) {
            addCriterion("batchNum >", value, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("batchNum >=", value, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumLessThan(Integer value) {
            addCriterion("batchNum <", value, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumLessThanOrEqualTo(Integer value) {
            addCriterion("batchNum <=", value, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumIn(List<Integer> values) {
            addCriterion("batchNum in", values, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumNotIn(List<Integer> values) {
            addCriterion("batchNum not in", values, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumBetween(Integer value1, Integer value2) {
            addCriterion("batchNum between", value1, value2, "batchnum");
            return (Criteria) this;
        }

        public Criteria andBatchnumNotBetween(Integer value1, Integer value2) {
            addCriterion("batchNum not between", value1, value2, "batchnum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}